package ranveterinaria.negocio;

import java.util.Collection;

import ranveterinaria.dao.CalendarioVacunaDAO;
import ranveterinaria.excepcion.DAOExcepcion;
import ranveterinaria.modelo.CalendarioVacunaModelo;

public class GestionCalendarioVacuna {

	public void insertar(CalendarioVacunaModelo vo)
			throws DAOExcepcion {
		CalendarioVacunaDAO dao = new CalendarioVacunaDAO();	
		dao.insertar(vo);
	}
	
	public Collection<CalendarioVacunaModelo> listar() throws DAOExcepcion {
		CalendarioVacunaDAO dao = new CalendarioVacunaDAO();
        return dao.listar();
	}
	
	
}
